package com.ulife.permission.dao;

import java.sql.SQLException;
import java.util.List;

import com.ulife.permission.dao.dataobject.TargetDO;

public interface TargetDao {

	TargetDO getTargetById(long id) throws SQLException;
	
	TargetDO getTargetByTargetId(String targetId) throws SQLException;

	int addTarget(TargetDO target) throws SQLException;

	List<TargetDO> getAllTarget() throws SQLException;

	int updateTarget(TargetDO target) throws SQLException;
	
}
